﻿using FluentNHibernate.Mapping;
using IapService.Entity;

namespace IapService.Mappings
{
    public class InstanceReportMap : ClassMap<InstanceReport>
    {
        public InstanceReportMap()
        {
            Not.LazyLoad();

            Id(x => x.Id);
            Map(x => x.InstanceId);
            References(x => x.Report, "reportId");
        }
    }
}